//首页页面API
//轮播图
import request from "@/utils/request";
//轮播图数据API
export const reqGetBannerList = (params = {}) => {
  const { distributionSite = "1" } = params;
  return request({
    url: "/home/banner",
    params: {
      distributionSite,
    },
  });
};
//获取新鲜好物
export const reqGetNewsList = () => {
  return request({
    url: "/home/new",
  });
};
//获取-人气推荐
export const reqGetHotList = () => {
  return request({
    url: "/home/hot",
  });
};
//获取所有产品列表
export const reqGetGoodsList = () => {
  return request({
    url: "/home/goods",
  });
};
